# New ports collection makefile for:	smuxi
# Date created:		2009-04-27
# Whom:			Romain Tartiere <romain@blogreen.org>
#
# $FreeBSD$
#

PORTNAME=	smuxi
PORTVERSION=	0.6.4.1
CATEGORIES=	irc
MASTER_SITES=	http://www.smuxi.org/jaws/data/files/

MAINTAINER=	mono@FreeBSD.org
COMMENT=	Smart MUltipleXed Irc

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/smartirc4net.pc:${PORTSDIR}/irc/smartirc4net \
		${LOCALBASE}/libdata/pkgconfig/nini-1.1.pc:${PORTSDIR}/devel/nini \
		${LOCALBASE}/libdata/pkgconfig/log4net.pc:${PORTSDIR}/devel/log4net
RUN_DEPENDS=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	intltool gnomehack gnomesharp20
USE_GETTEXT=	yes

post-patch:
	@${FIND} ${WRKSRC} -name "${GNOME_MAKEFILEIN}*" -type f | ${XARGS} ${REINPLACE_CMD} -e \
		's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g ; \
		s|@libdir@/locale|@prefix@/share/locale|g'

.include <bsd.port.mk>
